package com.tlvip.tlvipweb.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * <p>description：监听器随容器启动而启动，销毁而销毁</p>
 * <p>copyright： copyright(C)2016-2099</p>
 * <p>Life is short,we need passion</p>
 * <p>Summary： </p>
 * <p>instructions： </p>
 * Date 3/8/21</p>
 * Author mac
 *
 * @version 1.0
 */
public class ListenerDemo implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("ListenerDemo init...");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("ListenerDemo destroy...");
    }
}
